import React from "react";
import {useNavigate} from 'react-router-dom'
import "./index.css";
const Index: React.FC = () => {
    const navigate=useNavigate()
    const jkcp=()=>{
        console.log("健康测评")
        navigate('/healthassessment')
    }
  return (
    <div onClick={()=>jkcp()}>
      <div className="box">
        <div className="tbox">健康测评</div>
        <div className="bbox">
          <img src="https://mms1.baidu.com/it/u=2262554005,2655951769&fm=253&app=138&f=JPG?w=236&h=77" />
        </div>
      </div>
    </div>
  );
};
export default Index;
